package com.csu.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface UserHeadPictureMapper {
    /**
     * 通过userId获取头像
     */
    String getHeadPicture(int userId);

    /**
     * 插入头像
     */
    Integer insertPicture(int userId, String headPicturePath);
}
